package org.springblade.modules.admin.dto.plan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.common.utils.validation.constraints.DatePattern;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Description 保养排期日历视图DTO
 * @Author ysq
 * @Date 2023/12/15
 */
@Data
public class MaintainCalendarScreenDTO {

	@DatePattern(format= "yyyy-MM", message = "日期格式不正确，正确格式为：yyyy-MM")
	@NotBlank(message = "日期不能为空")
	@ApiModelProperty(value = "日期(yyyy-MM)")
	private String calendarDate;

	@ApiModelProperty(value = "关注日程-待开始-模板应用场景")
	private List<Long> startingTemplates;

	@ApiModelProperty(value = "关注日程-未完成-模板应用场景")
	private List<Long> notFinishTemplates;

	@ApiModelProperty(value = "关注日程-已完成-模板应用场景")
	private List<Long> finishTemplates;
}
